Filter hook 'comment_form_field_{$name}'
in WP Core File wp-includes/comment-template.php at line 2817
Description
Filters a comment form field for display. The dynamic portion of the hook name, `$name`, refers to the name of the comment form field. Possible hook names include: - `comment_form_field_comment` - `comment_form_field_author` - `comment_form_field_email` - `comment_form_field_url` - `comment_form_field_cookies`
Occurrences
Filename |
Line Number |
wp-includes/comment-template.php |
2817 |
Parameters
Type |
Name |
Description |
string |
$field |
The HTML-formatted output of the comment form field. |
PHP Doc
/**
* Filters a comment form field for display.
*
* The dynamic portion of the hook name, `$name`, refers to the name
* of the comment form field.
*
* Possible hook names include:
*
* - `comment_form_field_comment`
* - `comment_form_field_author`
* - `comment_form_field_email`
* - `comment_form_field_url`
* - `comment_form_field_cookies`
*
* @since 3.0.0
*
* @param string $field The HTML-formatted output of the comment form field.
*/